import { Component, OnInit } from '@angular/core';
import {NavService} from '../../../services/nav/nav.service';

@Component({
  selector: 'app-question-home',
  templateUrl: './question-home.component.html',
  styleUrls: ['./question-home.component.less']
})
export class QuestionHomeComponent implements OnInit {

  indexContent: number = 0;

  constructor(private navService: NavService) {
  }

  ngOnInit() {
    /*this.indexContent = this.navService.indexContent;*/
  }

  changeContent(event: number) {
    this.indexContent=event;
  }

}
